package com.ddstation.crm.menu.entity;

import java.io.Serializable;
import java.util.List;

/**
 * dt_invs_manage_institution_menu 健康管理机构 menu
 * @author zhangdifeng
 * @date 2017年7月12日
 */
public class DtInvsManageInstitutionMenuEntity implements Serializable {

	public final static long serialVersionUID = 1;

	private Integer id;
	//	private String institutionId;
	private Integer guidebuy; // @1：没有权限时引导购买
	private String name;
	private String icon1; // panel menu(png)
	private String icon2; // main menu(png)
	private String url;
	private Integer workFlowType; // 服务工作流id WorkFlowType.java 只在横向菜单时使用
	private boolean available; // 是否有使用权限
	private DtInvsManageInstitutionMenuEntity parent;
	private List<DtInvsManageInstitutionMenuEntity> childrens = null;
	private int visibility = 1; // 仅用于菜单设置时。（其他时候，菜单不可见就直接不往页面推送该菜单） 默认可见
	private Integer orderNb;
	private Integer ybSpecialUse = null; // 1: 医保特有菜单
	private Integer costFreeSt;// 0：收费 1：免费

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public List<DtInvsManageInstitutionMenuEntity> getChildrens() {
		return childrens;
	}
	public void setChildrens(List<DtInvsManageInstitutionMenuEntity> childrens) {
		this.childrens = childrens;
	}
	public DtInvsManageInstitutionMenuEntity getParent() {
		return parent;
	}
	public void setParent(DtInvsManageInstitutionMenuEntity parent) {
		this.parent = parent;
	}
	public Integer getWorkFlowType() {
		return workFlowType;
	}
	public void setWorkFlowType(Integer workFlowType) {
		this.workFlowType = workFlowType;
	}
	public boolean isAvailable() {
		return available;
	}
	public void setAvailable(boolean available) {
		this.available = available;
	}
	public Integer getGuidebuy() {
		return guidebuy;
	}
	public void setGuidebuy(Integer guidebuy) {
		this.guidebuy = guidebuy;
	}
	public Integer getVisibility() {
		return visibility;
	}
	public void setVisibility(Integer visibility) {
		this.visibility = visibility;
	}
	public void setVisibility(int visibility) {
		this.visibility = visibility;
	}
	public String getIcon1() {
		return icon1;
	}
	public void setIcon1(String icon1) {
		this.icon1 = icon1;
	}
	public String getIcon2() {
		return icon2;
	}
	public void setIcon2(String icon2) {
		this.icon2 = icon2;
	}
	public Integer getOrderNb() {
		return orderNb;
	}
	public void setOrderNb(Integer orderNb) {
		this.orderNb = orderNb;
	}
	public Integer getYbSpecialUse() {
		return ybSpecialUse;
	}
	public void setYbSpecialUse(Integer ybSpecialUse) {
		this.ybSpecialUse = ybSpecialUse;
	}
	public Integer getCostFreeSt() {
		return costFreeSt;
	}
	public void setCostFreeSt(Integer costFreeSt) {
		this.costFreeSt = costFreeSt;
	}
	@Override
	public String toString() {
		return "DtInvsManageInstitutionMenuEntity [id=" + id + ", guidebuy=" + guidebuy + ", name=" + name
				+ ", icon1=" + icon1 + ", icon2=" + icon2 + ", url=" + url + ", workFlowType=" + workFlowType
				+ ", available=" + available + ", parent=" + parent + ", childrens=" + childrens + ", visibility="
				+ visibility + ", orderNb=" + orderNb + ", ybSpecialUse=" + ybSpecialUse + ", costFreeSt=" + costFreeSt
				+ "]";
	}
}
